14.2.4 DisableCard notification

The DisableCard event sends a notification to a REST web service when a device is disabled in MyID.

If you configure an external system with the name DisableCard and specify the corresponding mapping file DisableCard.xml, you can configure MyID to respond to the event with the following.

14.2.4.1 Endpoint

POST /devices/{device GUID}/deviceDisabled

14.2.4.2 Data

Copy

    "device": {
        "id": "<device guid>",
        "sn": "<device serial number>",
        "dt": "<MyID device type>",
        "validity": {
            "from": "<ISO format issuance date>",
            "to": "<ISO format expiration date>",
            "enabled": <true|false>
        },
        "hid": {
            "serialNumber": "<HID loop ID>",
            "facilityCode": "<HID facility code>"
        }
    }
}

14.2.4.3 Expected response

A 200 OK response in the event of success.